package com.bestvike.stone.spring.shiro.authz.exception.authz;

/**
 * 客户端主机黑名单异常
 */
public final class HostUnauthorizedException extends UnauthorizedException {
    private final String host;

    public HostUnauthorizedException(String host) {
        super();
        this.host = host;
    }

    public HostUnauthorizedException(String host, String message) {
        super(message);
        this.host = host;
    }

    public HostUnauthorizedException(String host, Throwable cause) {
        super(cause);
        this.host = host;
    }

    public HostUnauthorizedException(String host, String message, Throwable cause) {
        super(message, cause);
        this.host = host;
    }

    public String getHost() {
        return this.host;
    }
}
